import request from '@/utils/request'

export default {
    // 1 生成统计数据
    createStaData(day) {
        return request({
            url: `/staservice/daily/register/${day}`,
            method: 'post',
          })
    },
    showStaData(searchObj){
        return request({
            url: `/staservice/daily/showData/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
            method: 'get',
          })
    }
}